/**
 * 获取某种彩票类型渲染数据
 */
export function getCpDetail(params: { id: number }) {
  return fetch('https://cp.a79163.com/cp/detail?id=1')
}

/**
 * 投注
 */
export function cpOrder(params: any) {
  return fetch('https://cp.a79163.com/cp/order', {
    method: 'POST',
    body: JSON.stringify(params),
  })
}
